package com.tz.farmer.so;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FarmerActivesSo extends BaseSo{

    private Integer id;

    private String title;

    private String activeText;

    private String joinPeople;

    private String phone;

    private String address;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8" )
    private LocalDateTime startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8" )
    private LocalDateTime endTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8" )
    private LocalDateTime activeEndTime;

    private Integer isSued;

    private Integer property;


    private Integer isTop;
    private String doFlag;
    private  String keyword;
    private  Integer pageSize;
    private  Integer  currentPage;

    private String  timeStart;
    private String timeEnd;
    private Integer ids[];


}